Repository navigation
Conversation
A message sent by mistake could only go when Jun quit. The user now deletes one from its context menu, or with Backspace or Delete on the row chosen; agents with `jun tool message delete <id>`. Its number is not given again, and what it links to stays. The choice goes to the message below, or above for the last one.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A message sent by mistake could only go when Jun quit, such as the seven unlinked notices now taking up Messages.
What changes
jun tool message delete <id>, for any Jun terminal, whoever sent the message. Prints nothing; no such message is status 1.message deletealone is still a message whose text is "delete", asmessage updatealone is.docs/agent-tools.md(command table, a "Deleting a message" section),docs/agents-view.md(Messages), and the jun-tools skill (Commands table, "Follow a message up").Behaviour
updateordeleteof a deleted id isno message <id>, status 1done, for the user to read; the docs say to delete only what was sent by mistake"Delete all done messages" is left out: the case at hand is info notices, and ⌫ deletes them one by one quickly.
Checks
gofmt -l internal,go vet ./internal/... ./cmd/...,go test ./internal/...: all pass.